<div class="row dd_input_group no-gutters {$form[type].extra_class|default=''}" id="form_group_{$form[type].name}">
    <label class="col-3 col-sm-2 col-md-2 col-lg-2 col-xl-1 dd_input_l col-form-label {notempty name="form[type].required"}is-required{/notempty}" for="{$form[type].name}">{$form[type].title|htmlspecialchars}</label>
    <div class="col-9 col-sm-9 col-md-9 col-lg-6 col-xl-4">
        <select class="form-control" id="{$form[type].name}" name="{$form[type].name}" {$form[type].extra_attr|default=''}>
            <option value="">{$form[type].placeholder}</option>
            {volist name="form[type].options" id="option"}
            {if is_array($option)}
            <option value="{$key}" {if ((string)$form[type].value == (string)$key)}selected{/if} {if $option.disabled == 1}disabled{/if}>{$option.value}</option>
            {else}
            <option value="{$key}" {if ((string)$form[type].value == (string)$key)}selected{/if}>{$option}</option>
            {/if}
            {/volist}
        </select>
    </div>
    {notempty name="form[type].tips"}
    <div class="col-12 offset-sm-2 offset-md-2 offset-lg-0 offset-xl-0 col-sm-10 col-md-10 col-lg-4 col-xl-7 dd_ts">
        <small class="text-muted">
            <i class="fa fa-info-circle"></i> {$form[type].tips|raw}
        </small>
    </div>
    {/notempty}
</div>